﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using K.EnterpriseLibary;
using K.EnterpriseLibary.Entity;
using K.Presentation;
namespace K.ClientOfWebApp.UserControl
{
    public partial class Register : System.Web.UI.UserControl
    {
        private string rePassWord;
        public string RePassWord
        {
            get 
            {
                return rePassWord;
            }
            set 
            {
                rePassWord = value;
            }
        }

        private UserInfo userInfo;
        public UserInfo UserInfo
        {
            get
            {
                UserInfo userInfo = new UserInfo();

                return userInfo; 
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btSubmit_Click(object sender, EventArgs e)
        {
            //调用业务层，实例化业务类
            //RegisterAction registerAction = new RegisterAction();

            //获取UI上的注册信息，即实例化一个User实例，并取得相应的值
            //registerAction.UserInfo = this.UserInfo;
            //调用业务类的方法，完成注册
            //registerAction.Register();
        }
    }
}